<?php
namespace admin;
use controller;

use model\admin\categoryModel;

class category extends controller{

    public function index(){

        $list = categoryModel::get_list();

        echo json_encode( $list );

    }


}